package cn.qayy.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

import cn.qayy.service.Uploadable;

/**
 * 
 * 
 * @author wcyong
 * 
 * @date 2018-12-19
 */
public class TaskTotalDTO extends commonDTO implements Uploadable,Serializable{
    private Integer id;

    /**
     * 省份
     */
    private String province;

    /**
     * 地市
     */
    private String city;

    /**
     * 区县
     */
    private String country;

    /**
     * 片区经理
     */
    private String mgr;

    /**
     * 客户
     */
    private String client;

    /**
     * 客户等级
     */
    private String clientLevel;

    /**
     * 品种
     */
    private String product;

    /**
     * 重点终端数量
     */
    private String terminalCount = "0";

    /**
     * 重点区县数量
     */
    private String countryCount = "0";

    /**
     * 当前季度第一个月纯销目标
     */
    private String taskM1 = "0";

    /**
     * 当前季度第二个月纯销目标
     */
    private String taskM2 = "0";

    /**
     * 当前季度第三个月纯销目标
     */
    private String taskM3 = "0";

    /**
     * 预算推广费用
     */
    private String promotePrice = "0";

    /**
     * 版本号
     */
    private String version;

    /**
     * 创建时间
     */
    private Date ctime;

    /**
     * 修改时间
     */
    private Date mtime;
    
    /**
     * 修订标识
     */
    private String isUpdate="E";

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getMgr() {
        return mgr;
    }

    public void setMgr(String mgr) {
        this.mgr = mgr == null ? null : mgr.trim();
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client == null ? null : client.trim();
    }

    public String getClientLevel() {
        return clientLevel;
    }

    public void setClientLevel(String clientLevel) {
        this.clientLevel = clientLevel == null ? null : clientLevel.trim();
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product == null ? null : product.trim();
    }

    public String getTerminalCount() {
        return terminalCount;
    }

    public void setTerminalCount(String terminalCount) {
        this.terminalCount = terminalCount == null ? null : terminalCount.trim();
    }

    public String getCountryCount() {
        return countryCount;
    }

    public void setCountryCount(String countryCount) {
        this.countryCount = countryCount == null ? null : countryCount.trim();
    }

    public String getTaskM1() {
        return taskM1;
    }

    public void setTaskM1(String taskM1) {
        this.taskM1 = taskM1 == null ? null : taskM1.trim();
    }

    public String getTaskM2() {
        return taskM2;
    }

    public void setTaskM2(String taskM2) {
        this.taskM2 = taskM2 == null ? null : taskM2.trim();
    }

    public String getTaskM3() {
        return taskM3;
    }

    public void setTaskM3(String taskM3) {
        this.taskM3 = taskM3 == null ? null : taskM3.trim();
    }

    public String getPromotePrice() {
        return promotePrice;
    }

    public void setPromotePrice(String promotePrice) {
        this.promotePrice = promotePrice == null ? null : promotePrice.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }

	public TaskTotalDTO() {
		super();
	}

	@Override
	public Uploadable filter(Map<String, List<Uploadable>> map, Set<Uploadable> set, int num) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String flag() throws Exception {
		return this.isUpdate;
	}

	public TaskTotalDTO(Integer id, String province, String city, String country, String mgr, String client,
			String clientLevel, String product, String terminalCount, String countryCount, String taskM1, String taskM2,
			String taskM3, String promotePrice, String version, Date ctime, Date mtime, String isUpdate) {
		super();
		this.id = id;
		this.province = province;
		this.city = city;
		this.country = country;
		this.mgr = mgr;
		this.client = client;
		this.clientLevel = clientLevel;
		this.product = product;
		this.terminalCount = terminalCount;
		this.countryCount = countryCount;
		this.taskM1 = taskM1;
		this.taskM2 = taskM2;
		this.taskM3 = taskM3;
		this.promotePrice = promotePrice;
		this.version = version;
		this.ctime = ctime;
		this.mtime = mtime;
		this.isUpdate = isUpdate;
	}

    
}